package com.baizan.daka.ui.contract

import com.baizan.daka.base.IPresenter
import com.baizan.daka.base.IView
import com.baizan.daka.net.bean.PublishBean

interface PublishContract {

    interface View : IView {

        fun publishTaskSuccess()

        fun upSuccess()

        fun downSuccess()
    }

    interface Presenter : IPresenter {


        fun publishTask(PublishBean: PublishBean)

        fun upOrDown(enabledFlag: Int,  id: String,videoUrl:String?=null)
    }
}